package com.example.demo73es.reposity;

import com.example.demo73es.entity.ArticleEntity;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;


import java.util.List;

@Repository(value="articleReposity")
//@Mapper
public interface ArticleReposity /*extends ElasticsearchRepository<ArticleEntity, String> */{

//    List<ArticleEntity> findByTitle(String title);
//    List<ArticleEntity> findByTitleOrContent(String title, String content);
//    List<ArticleEntity> findByTitleOrContent(String title, String content, Pageable pageable);


}
